3cad85
@@ -707,9 +707,7 @@
public class HLog implements Syncable {
       writer.init(fs, path, conf);
       return writer;
     } catch (Exception e) {
-      IOException ie = new IOException("cannot get log writer", e);
-      ie.initCause(e);
-      throw ie;
+      throw new IOException("cannot get log writer", e);
     }
   }
 
